import request from '@/utils/request'

export function insert(T) {
  return request({
    url: `/service-edu/DongBing/edu-video/insert`,
    method: 'post',
    data: T
  })
}

export function update(T) {
  return request({
    url: `/service-edu/DongBing/edu-video/update`,
    method: 'post',
    data: T
  })
}

export function deleteVideo(id) {
  return request({
    url: `/service-edu/DongBing/edu-video/delete/${id}`,
    method: 'get'
  })
}

